<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>白坯单据</title>

    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/demo/demo.css">
    <link rel="stylesheet" type="text/css" href="../../../jquery-easyui-1.6.7/themes/bootstrap/easyui.css">
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/jquery.min.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-1.6.7/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../../../jquery-easyui-edatagrid/jquery.edatagrid.js"></script>

    <style type="text/css">
        .datagrid button,
        .datagrid input,
        .datagrid optgroup,
        .datagrid select,
        .datagrid textarea {
            color: black;
        }
    </style>

    <script src="../../js/whitebillcode.js" type="text/javascript"></script>
    <link href="../../css/whitebillcode.css" type="text/css" rel="stylesheet" >

    <script src="../../js/loadEventUtil.js" type="text/javascript"></script>

</head>
<body>

<div class="plan_main">
    <div class="plan_top">
        <div class="planbutton">
            <a id="add" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-edit',iconAlign:'bottom'" onclick="btn_add()"><b>新增</b></a>
            <a id="reload" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-reload',iconAlign:'bottom'" onclick="btn_reload()"><b>重开</b></a>
            <a id="prev" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-undo',iconAlign:'bottom'" onclick="btn_prev()"><b>上张</b></a>
            <a id="next" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-redo',iconAlign:'bottom'" onclick="btn_next()"><b>下张</b></a>
            <a id="last" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-back',iconAlign:'bottom'" onclick="btn_last()"><b>末张</b></a>
            <a id="save" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-save',iconAlign:'bottom'" onclick="btn_save()"><b>保存</b></a>
            <a id="modify" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-edit',iconAlign:'bottom'" onclick="btn_modify()"><b>修改</b></a>
            <a id="btn_invalid" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-no',iconAlign:'bottom'" onclick="btn_invalid()"><b>作废</b></a>

            <a id="add_line" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-add',iconAlign:'bottom'" onclick="btn_add_line()"><b>新增行</b></a>
            <a id="copy_line" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-remove',iconAlign:'bottom'" onclick="btn_copy_line()"><b>复制行</b></a>
            <a id="delete_line" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-clear',iconAlign:'bottom'" onclick="btn_delete_line()"><b>删除行</b></a>
<!--            <a id="reload_line" href="#" class="easyui-linkbutton"-->
<!--               data-options="iconCls:'icon-reload1',iconAlign:'bottom'" onclick="btn_reload_line()"><b>列重置</b></a>-->

            <a id="closeplan" href="#" class="easyui-linkbutton"
               data-options="iconCls:'icon-no',iconAlign:'bottom'" onclick="closeTab()">关闭</a>

        </div>
    </div>
    <div class="plan_top_text">
        <table border="0">
            <tr height="3"></tr>
            <tr>
                <th width="90" align="right"><label>单据编号：</label></th>
                <th><input class="easyui-textbox" required='required' style="width:200px"></th>
                <th width="90" align="right"><label>起始日期：</label></th>
                <th><input id="start" class="easyui-datebox"
                           data-options="width:115,value:getDate(0),disabled:false" required='required'>
                </th>

                <th width="100" align="right"><label>单据备注：</label></th>
                <th><input class="easyui-textbox" style="width:400px"></th>
            </tr>
        </table>

    </div>

    <div class="plan_text">
        <table id="billgrid" style="width:100%;height:100%"></table>
    </div>

    <div class="plan_bottom_text">
        <table border="0">
            <tr height="3"></tr>
            <tr>
                <th width="90" align="right"><label>驾驶员：</label></th>
                <th><input class="easyui-textbox" required='required' style="width:200px"></th>
                <th width="90" align="right"><label>装修工：</label></th>
                <th><input id="cc" class="easyui-combobox" name="dept" data-options="valueField:'id',textField:'text',url:'get_data.php'"></th>
                <th width="100" align="right"><label>单据备注：</label></th>
                <th><input class="easyui-textbox" style="width:400px"></th>
            </tr>
        </table>
    </div>
</div>

<!--<div style="margin-bottom:10px">-->
<!--    <a href="#" onclick="javascript:$('#tt').edatagrid('addRow')">AddRow</a>-->
<!--    <a href="#" onclick="javascript:$('#tt').edatagrid('saveRow')">SaveRow</a>-->
<!--    <a href="#" onclick="javascript:$('#tt').edatagrid('cancelRow')">CancelRow</a>-->
<!--    <a href="#" onclick="javascript:$('#tt').edatagrid('destroyRow')">destroyRow</a>-->
<!--</div>-->

</body>
</html>